<?php  include ("bloqueDeSeguridad.php");?>
<head>

  
  
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="content-language" content="en" />
    <meta name="robots" content="all,follow" />
    <meta name="author" lang="en" content="All: Your name [www.url.com]; e-mail: info@url.com" />
    <meta name="copyright" lang="en" content="Webdesign: Nuvio [www.nuvio.cz]; e-mail: ahoj@nuvio.cz" />
    <meta name="description" content="..." />
    <meta name="keywords" content="..." />
    <link rel="stylesheet" media="screen,projection" type="text/css" href="css/reset.css" />
    <link rel="stylesheet" media="screen,projection" type="text/css" href="css/main.css" />
    <link rel="stylesheet" media="screen,projection" type="text/css" href="css/style.css" />
    <link rel="stylesheet" media="print" type="text/css" href="css/print.css" />
    <title>HSEQ Nuevo Paciente</title>
	<?php  	
	echo " USUARIO: ";
    echo  $_SESSION["login"];

?>
    <style type="text/css">
<!--
.style13 {	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	font-style: italic;
	font-weight: bold;
	font-size: 2.5em;
}
.Estilo1 {font-size: larger}
-->
    </style>
</head>
<body>
<div id="main">
  <div id="header">
    <div align="center" class="nomt" id="div2">
      <h1 class="style13">Health Safety </h1>
      <h1 class="style13">Environment Quality </h1>
    </div>
    <h1 id="logo">&nbsp;</h1>
  </div>
  <hr class="noscreen" />
	 <hr class="noscreen" />
  <div id="cols">
    <div id="cols-in" class="box">
      <!-- /content -->
<hr class="noscreen" />

            <p align="right">
              <!-- Aside -->
              <!-- /aside -->
              <!-- /cols-in -->
            </p>
            <div id="content">
              <div class="in">
                <p id="breadcrumbs">&nbsp;</p>
              </div>
              <h2 class="title-01">Ingreso Nuevo Paciente </h2>
              <div class="in">
                <div class="box"> </div>
                <h4 class="title-02">&nbsp;</h4>
                <p class="title-02">&nbsp;</p>
                <p class="title-02">&nbsp;</p>
                <div class="cols5050 box">
                  <script type="text/javascript">
				 
				  
function validar(frm) {
    
	var cedula=frm.cedula.value;
	
	if(isNaN(frm.cedula.value) || frm.cedula.value.length ==" " )
{

 document.getElementById('error').style.visibility = 'visible';
  return false;

  
}
else{
frm.submit();
<?php     ?>
}


  
}

</script>
</head>
<body>
<form method="post" action="verificarPaciente.php" onSubmit="return validar(this)" >
cedula:
<input type="text" name="cedula" size="20" maxlength="30" onChange="validar(this)" />
<p id="error" style="visibility:hidden">CEDULA INVALIDA</p>
<input type="submit"  value="Registrar" />
</form>
                  
           </p>
                </div>
              </div> 
	  		<div class="box">
    	  </div>
		</div> 
    <hr class="noscreen" />
    </div>
   </body>
</html>

